ga.core.goperators
Interface IMutationOp<T extends IIndividual<T>>

Type Parameters:
T - The generic type of individuals.
All Superinterfaces:
IGeneticOp
All Known Implementing Classes:
FurnLayoutMutationOp, RealMutationOp, SimpleObjectMutationOp

public interface IMutationOp<T extends IIndividual<T>>
extends IGeneticOp

Interface for a mutation operator.

Since:
11.08.2012
Author:
Stephan Dreyer

Method Summary
 T mutate(T individual, GAContext context)
          Performs a mutation (if probability met) of the given individual and returns the new individual.
 

Method Detail

mutate

T mutate(T individual,
         GAContext context)
Performs a mutation (if probability met) of the given individual and returns the new individual.

Parameters:
individual - Individual to mutate.
context - The GA context.
Returns:
Mutated individual.
Since:
11.08.2012